package com.ruslan.magaz.web;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

import com.ruslan.magaz.web.validation.GotSomeCount;


@GotSomeCount
public class Count {
	@Min(0)
	@Max(1000)
	int count=0;
	int productId;
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
}

